projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
952cad8
)
(unexec): Check for section names end and edata with no underscore.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 10 Aug 1998 02:35:54 +0000
(
02:35
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 10 Aug 1998 02:35:54 +0000
(
02:35
+0000)
src/unexelf.c
patch
|
blob
|
history
diff --git
a/src/unexelf.c
b/src/unexelf.c
index 759616560738eb24bac48f5287117a66ea6e556e..0e70ac116b110028a69c45e3152b25f0dedc72b1 100644
(file)
--- a/
src/unexelf.c
+++ b/
src/unexelf.c
@@
-1068,7
+1068,9
@@
unexec (new_name, old_name, data_start, bss_start, entry_address)
for (; symp < symendp; symp ++)
if (strcmp ((char *) (symnames + symp->st_name), "_end") == 0
- || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0)
+ || strcmp ((char *) (symnames + symp->st_name), "end") == 0
+ || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0
+ || strcmp ((char *) (symnames + symp->st_name), "edata") == 0)
memcpy (&symp->st_value, &new_bss_addr, sizeof (new_bss_addr));
}